<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" href="/res/app/admin/css/common.css" rel="stylesheet" />
<script type="text/javascript" src="/res/js/lib/jquery.js"></script>
<script type="text/javascript" src="/res/frame/js/t_thickbox.js"></script>
<title>配置管理</title>

<script type="text/javascript">
    function look_config(name){
        $.ajax({
              url:'/admin/a-config/look',
              method:'post',
              data:'sys_ajax=1&sys_debug_log=AConfig&name='+name+'&cache='+Math.random(),
              dataType:'json',
              success:function(json){
            	  if(json.success){
            		  open_thickbox_textarea(json.msg);
                     }else {
                          alert(json.msg);
                          }
               },
               error:function (e){
                 alert(e.responseText);
               }
              
            });
    }
</script>
</head>
<body>

<div >您当前所在的位置：<span >配置管理</span>
</div>
<div class="clr"></div>

        <div class="mt10">
          <table id="ffc" cellpadding="0" cellspacing="0" class="t_stpi mb10" style= "table-layout:fixed ">
            <tr>
              <th width="350">名称</th>
              <th width="350">说明</th>
              <th width="50">操作</th>
            </tr>
            <tr>
              <td  align="center">config.inc.php</td>
              <td  align="center">全局的宏，必须加载类，以及数据库的配置 TT_DIR.'config.inc.php'</td>
              <td  align="center">
                <input type="button" onclick="look_config('config.inc.php')" value="点击查看"/>
              </td> 
            </tr>
            
            <tr>
              <td  align="center">表配置缓存文件</td>
              <td  align="center">文件：TFRAME_DIR.'cache/table.memcache.php'</td>
              <td  align="center">
                <input type="button" onclick="look_config('table_config_cache')" value="点击查看"/>
              </td> 
            </tr>
            
            <tr>
              <td  align="center">数据库配置</td>
              <td  align="center">D_DAO宏</td>
              <td  align="center">
                <input type="button" onclick="look_config('database')" value="点击查看"/>
              </td> 
            </tr>
            
          </table>          
          <div align="center">{pager}</div>          
        </div>

</body>
</html>
